﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Bll;

namespace Myproject.BSM.PcWeb.PcBase
{
    public partial class Navigation : System.Web.UI.Page
    {

        private DataTable messageTable;

        public DataTable MessageTable
        {
            get { return messageTable; }
            set { messageTable = value; }
        }
        private DataTable messageTable2;

        public DataTable MessageTable2
        {
            get { return messageTable2; }
            set { messageTable2 = value; }
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            messageTable = new NavBLL().GetList("ParentID = '0'").Tables[0];
            messageTable2 = new NavBLL().GetList("ParentID != '0'").Tables[0];
        }
    }
}